﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ProShop.Master" AutoEventWireup="true" CodeBehind="danhmuc.aspx.cs" Inherits="WEBSITE.danhmuc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head_page_title" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head_script" runat="server">
    <script type="text/javascript" src="../content/js/nivoslider/jquery.nivo.slider.js"></script>
	<script type="text/javascript" src="../content/modules/product/js/product.js"></script>
	<script type="text/javascript" src="../content/modules/product/js/stepcarousel.js"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="head_css" runat="server">
    <link rel="stylesheet" href="../content/js/nivoslider/nivo-slider.css" type="text/css" />
	<link rel="stylesheet" href="../content/modules/product/css/product.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="menu_top" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="box_ads" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="category_list" runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="navation_bar" runat="server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="top_page" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="left_page" runat="server">
<td id="vnt-sidebar" valign="top">
    <asp:ListView ID="left_sidebar_cat" runat="server">
        <LayoutTemplate>
            <div class="box">
                <div class="box-title">
                    <h1>
                       Danh mục con
                        <asp:Label ID="child_cat_name" runat="server" Text="Label"></asp:Label>
                    </h1>
                </div>
                <div>
                    <div class="box_category">
                        <ul>
                            <asp:PlaceHolder runat="server" ID="itemPlaceHolder" />
                        </ul>
                    </div>
                </div>
            </div>
        </LayoutTemplate>
        <ItemTemplate>
            <li>
                <a href='danhmuc.aspx?lid=<%# DataBinder.Eval(Container.DataItem, "MaLoaiHang") %>'><span><%# DataBinder.Eval(Container.DataItem, "TenLoaiHang") %></span></a>
            </li>
        </ItemTemplate>
    </asp:ListView>
    
    <div class="box">
        <div class="box-title">
            <h1>Tìm chuyên sâu</h1>
        </div>
        <div class="box-content">
            <asp:ListView ID="ListView1" runat="server"></asp:ListView>
            <div class="box_brand">
                <asp:ListView ID="ListView2" runat="server">
                    <LayoutTemplate>
                        <h3>Theo thương hiệu</h3>
                            <ul class="box_brand">
                                <asp:PlaceHolder runat="server" ID="itemPlaceHolder" />
                            </ul>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <li>
                            <a href='danhmuc.aspx?nsx='><span>Kingston</span></a>
                        </li>
                    </ItemTemplate>
                </asp:ListView>
                <h3 class="border_top" style="padding-top:10px;">Theo khoảng giá</h3>
                <ul class="box_brand">
                    <li class='last'>
                        <a href='danhmuc.aspx?minprice=0&maxprice=1000000'><span>Dưới 1 triệu</span></a>
                    </li>
                    <li class='last'>
                        <a href='danhmuc.aspx?minprice=1000000&maxprice=2000000'><span>1 triệu đến 2 triệu</span></a>
                    </li>
                    <li class='last'>
                        <a href='danhmuc.aspx?minprice=2000000&maxprice=5000000'><span>2 triệu đến 5 triệu</span></a>
                    </li>
                    <li class='last'>
                        <a href='danhmuc.aspx?minprice=5000000&maxprice=9000000'><span>5 triệu đến 9 triệu</span></a>
                    </li>
                    <li class='last'>
                        <a href='danhmuc.aspx?minprice=9000000'><span>Trên 9 triệu</span></a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</td>                             
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="sidebar" runat="server">
    <asp:ListView ID="productcat_list" runat="server" OnItemDataBound="product_list_ItemDataBound" DataKeyNames="MaLoaiHang">
        <LayoutTemplate>
            <td id="vnt-main" valign="top">
                <asp:PlaceHolder runat="server" ID="itemPlaceHolder" />
            </td>
        </LayoutTemplate>
        <ItemTemplate>
            <div class="mid-title">
                <h1 class="titleL">
                    <a href='danhmuc.aspx?lid=<%# DataBinder.Eval(Container.DataItem, "MaLoaiHang") %>'>
                        <%# DataBinder.Eval(Container.DataItem, "TenLoaiHang") %>
                    </a>
                </h1>
                <asp:Literal ID="procat_child_id" runat="server" Visible="false" Text='<%#DataBinder.Eval(Container.DataItem, "MaLoaiHang") %>' />
                <div class="titleR"></div>
                <div class="clear"></div>
            </div>
            <asp:ListView ID="product_child_cat_list" runat="server" GroupItemCount="5">
                <LayoutTemplate>
                    <div class="box-product">
                        <asp:PlaceHolder runat="server" ID="groupPlaceHolder" />
                    </div>
                </LayoutTemplate>
                <GroupTemplate>
                    <div class="mid-content">
                        <div id="List_Product">
                            <div class='View1'>
                                    <asp:PlaceHolder runat="server" ID="itemPlaceHolder" />
                            </div>
                        </div>
                    </div>
                </GroupTemplate>
                <ItemTemplate>
                    <div class='item'>
                        <table align="center" border="0" cellpadding="0" cellspacing="0" width="125">
                            <tr>
                                <td align="center" class="img" height="125">
                                    <a href="sanpham.aspx?id=<%# DataBinder.Eval(Container.DataItem, "MaSP") %>" onmouseout=" hideddrivetip();" onmouseover="ddrivetip('&lt;div class=fTooltip&gt;<%# DataBinder.Eval(Container.DataItem, "TenSP") %>&lt;div class=\'price\'&gt;<%# DataBinder.Eval(Container.DataItem, "GiaBan") %> vnđ&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;box_totltip&quot;&gt;&lt;table width=100% border=0 cellspacing=0 cellpadding=0&gt;&lt;tr &gt; &lt;td class=tInfo1 nowrap width=35 align=&quot;center&quot; valign=&quot;top&quot; &gt;&lt;img src=&quot;images/icon_cart.gif&quot;/&gt;&lt;/td&gt; &lt;td class=tInfo2 &gt;&lt;b&gt;Tính năng nổi bật &lt;/b&gt;&lt;br/&gt;Chống sốc, chống thấm&lt;br/&gt;Bảo hành 12 tháng&lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;',310);">
                                        <img alt='<%# DataBinder.Eval(Container.DataItem, "TenSP") %>' src="<%# DataBinder.Eval(Container.DataItem, "HinhMH") %>" title='<%# DataBinder.Eval(Container.DataItem, "TenSP") %>' />
                                    </a>
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <h3 align="center"><a href="sanpham.aspx?id=<%# DataBinder.Eval(Container.DataItem, "MaSP") %>" title='<%# DataBinder.Eval(Container.DataItem, "TenSP") %>'><%#DataBinder.Eval(Container.DataItem,"TenSP") %></a>
                                    </h3>
                                </td>
                            </tr>
                            <tr>
                                <td align="center"><b class='font_gay'>Giá:</b>
                                    <span class='price'><%# DataBinder.Eval(Container.DataItem, "GiaBan") %> vnđ</span></td>
                            </tr>
                        </table>
                    </div>
                </ItemTemplate>
                <EmptyDataTemplate>
                    No data was returned.
                </EmptyDataTemplate>
            </asp:ListView>
        </ItemTemplate>
        <EmptyItemTemplate>

        </EmptyItemTemplate>
    </asp:ListView>
</asp:Content>
